﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Clinica/MasterPageAtencion.master"
    AutoEventWireup="true" CodeFile="wfAtencionHistoriaSocial.aspx.cs" Inherits="Clinica_wfAtencionHistoriaSocial" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxClasses" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMenuSecundario" runat="Server">
    <li><a href="wfInterconsultaListado.aspx" class="">Interconsulta</a></li>
    <li><a href="wfAtencionListado.aspx" class="active">Atención</a></li>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ModuleTitleContent" runat="Server">
    Atención
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentEnlacesRapidos" runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MainContent" runat="Server">
    <ul class="tabs primary">
        <li><a href="wfAtencionListado.aspx">Listado de Atenciones</a></li>
        <li><a href="wfAtencion.aspx" class="">Registrar Atención</a></li>
        <li><a href="wfAtencionEnfermedadActual.aspx" class="">Enfermedad Actual</a></li>
        <li><a href="wfAtencionHistoriaPersonal.aspx" class="">Historia Personal</a></li>
        <li class="active"><a href="wfAtencionHistoriaSocial.aspx" class="">Historia Social</a></li>
        <li><a href="wfAtencionExamenActividad.aspx" class="">Examen Actividad</a></li>
        <li><a href="wfAtencionExamenEspecialidad.aspx" class="">Examen Especialidad</a></li>
        <li><a href="wfAtencionDiagnostico.aspx" class="">Diagnostico</a></li>
    </ul>
    <h4>
        Registrar Historia Social</h4>
    <table width="99%">
        <tr>
            <td>
                <dx:ASPxPanel ID="ASPxPanel1" runat="server" Width="99%">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                            <table>
                                <tr>
                                    <td>
                                        <dx:ASPxButton ID="btnAceptarHS" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                            Text="Aceptar" OnClick="btnAceptarHS_Click">
                                        </dx:ASPxButton>
                                    </td>
                                    <td>
                                        <dx:ASPxButton ID="btnCancelar" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                            Text="Cancelar" OnClick="btnCancelar_Click">
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxPanel>
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <td>
                <dx:ASPxLabel ID="ASPxLabel1" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="1. Familiar">
                </dx:ASPxLabel>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <dx:ASPxLabel ID="ASPxLabel2" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="a) Dinámica familiar (trato):">
                </dx:ASPxLabel>
            </td>
            <td>
                <dx:ASPxRadioButtonList ID="rdDinamicaFam" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" RepeatDirection="Horizontal" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                    TextSpacing="4px" SelectedIndex="0">
                    <Items>
                        <dx:ListEditItem Text="Adecuada" Value="A" Selected="True" />
                        <dx:ListEditItem Text="Inadecuada" Value="I" />
                    </Items>
                </dx:ASPxRadioButtonList>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <dx:ASPxLabel ID="ASPxLabel9" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="b) Enfermedades en la familia (anotar como carga genetica para las enfermedades):">
                </dx:ASPxLabel>
            </td>
        </tr>
        <tr>
            <td>
                <dx:ASPxLabel ID="ASPxLabel10" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="Positivo a:">
                </dx:ASPxLabel>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtEnfermedad" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                    Width="650px">
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                        <RegularExpression ErrorText="Este campo debe contener solo letras." 
                            ValidationExpression="^[a-zA-Z áéíóúAÉÍÓÚÑñ]+$" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td>
                <dx:ASPxLabel ID="ASPxLabel3" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="c) Precisar antecedentes de sangrado:">
                </dx:ASPxLabel>
            </td>
            <td>
                <dx:ASPxRadioButtonList ID="rdAntSangrado" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" RepeatDirection="Horizontal" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                    TextSpacing="4px" SelectedIndex="0">
                    <Items>
                        <dx:ListEditItem Text="Si" Value="S" Selected="True" />
                        <dx:ListEditItem Text="No" Value="N" />
                    </Items>
                </dx:ASPxRadioButtonList>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <dx:ASPxLabel ID="ASPxLabel4" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="2. Laboral">
                </dx:ASPxLabel>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <dx:ASPxLabel ID="ASPxLabel5" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="a) Actividad Laboral:">
                </dx:ASPxLabel>
            </td>
            <td>
                <dx:ASPxTextBox ID="txtActividadLab" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                    Width="400px">
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                        <RegularExpression ErrorText="Este campo debe contener solo letras." 
                            ValidationExpression="^[a-zA-Z áéíóúAÉÍÓÚÑñ]+$" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <dx:ASPxLabel ID="ASPxLabel6" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="b) Riesgo de Enfermedades (por su trabajo):">
                </dx:ASPxLabel>
            </td>
            <td>
                <dx:ASPxTextBox ID="txtRiesgoEnf" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                    Width="400px">
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                        <RegularExpression ErrorText="Este campo debe contener solo letras." 
                            ValidationExpression="^[a-zA-Z áéíóúAÉÍÓÚÑñ]+$" />
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <dx:ASPxLabel ID="ASPxLabel7" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="3. Medio Social">
                </dx:ASPxLabel>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <dx:ASPxLabel ID="ASPxLabel8" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="a) Estructura social (nivel socio económico):">
                </dx:ASPxLabel>
            </td>
            <td>
                <dx:ASPxRadioButtonList ID="rdEstructuraSoc" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" RepeatDirection="Horizontal" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                    TextSpacing="4px" SelectedIndex="0">
                    <Items>
                        <dx:ListEditItem Text="Alto" Value="A" Selected="True" />
                        <dx:ListEditItem Text="Medio" Value="M" />
                        <dx:ListEditItem Text="Bajo" Value="B" />
                    </Items>
                </dx:ASPxRadioButtonList>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
    </table>
    <dx1:aspxpopupcontrol id="pcMensajeHS" runat="server" width="350px" allowdragging="True"
        allowresize="True" clientinstancename="pcMensajeHS" closeaction="CloseButton"
        csspostfix="PlasticBlue" headertext="Mensaje" modal="True" popuphorizontalalign="WindowCenter"
        popupverticalalign="WindowCenter" dragelement="Window">
                    <HeaderImage Url="~/Imagenes/iconError.png" Width="20px" />
                    <HeaderStyle Font-Bold="True" />
                    <ContentCollection>
<dx1:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
    <table width="100%">
        <tr>
            <td style="padding: 0 0 0 20px;">
                <dx:ASPxLabel ID="lblMensaje" runat="server">
                </dx:ASPxLabel><hr />
            </td>
        </tr>
        <tr>
            <td align="center">
                
                <dx:ASPxButton ID="btnAceptar0" runat="server" AutoPostBack="False" 
                    ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                    CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Text="Aceptar" 
                    Checked="True">
                    <ClientSideEvents Click="function(s, e) {
	pcMensajeHS.Hide();   
}" />
                    <CheckedStyle BackColor="#000066" Font-Bold="True" Font-Italic="False" 
                        Font-Names="Georgia" Font-Strikeout="False" ForeColor="White">
                    </CheckedStyle>
                    <HoverStyle BackColor="#000099" Font-Bold="True" Font-Names="Georgia" 
                        ForeColor="White">
                    </HoverStyle>
                </dx:ASPxButton>
                
                
                </td>
        </tr>
    </table>
                        </dx1:PopupControlContentControl>
</ContentCollection>
                </dx1:aspxpopupcontrol>
    </asp:Content>
